package exam6;

/**
 * @author HB
 * @version 1.0
 * @description
 * @date 2021/6/24
 */
public class EncryptModuleMain {


    public static void main(String[] args) {
        DataOperator cipherAdapter=(DataOperator) XMLUtil.getBean();
        cipherAdapter.setPassword("yyds");
        String pwd = cipherAdapter.getPassword();
        System.out.println("new doEncrypt:"+cipherAdapter.doEncrypt(666, pwd));

    }

}
